<div class="row">


 <small>
 <div class="span3 bs-docs-sidebar ">
 	<*include file="<*$controller*>/location.tpl"*>
  </div>

<div class="span9">
 <h2><span style="color:red">如果问题处理完毕，结果将已通知的形式。告知家长，请慎重回答。</span></h2>
   
<table class="table table-hover table-condensed">
 
<tr>
<th class="span1">状态</th>
<th class="span2">反馈内容</th> 
<th class="span3">来源</th>
<th class="span2">反馈者的电子邮箱</th>
<th class="span1">&nbsp;</th>
<th class="span1">&nbsp;</th>
</tr> 
   <*foreach from=$result item=item key=key*>
   <tr  <*if $item.isover==0*> onclick="javascript:editit(<*$item.feedbackid*>)" style=" color:red"<*/if*> >
 
   <td class="span2"><*if $item.iswrite == 1*>(记录)<*else*><*/if*><*if $item.isover==1 *>已处理<*else*>未处理<*/if*></td>
   <td class="span2"><*$item.content|truncate:30*></td> 
   <td class="span2"><*if $item.source*><*$item.source*><*else*>&nbsp;<*/if*></td>
   <td class="span2"><*$item.email*></td>
   <td class="span2"><*if $item.isover==1*><a href="/<*$controller*>/edit/id/<*$item.feedbackid*>"><i class="icon-info-sign"></i> 查看</a><*else*><a   role="button" class="btn btn-primary" data-toggle="modal" onclick="javascript:editit(<*$item.feedbackid*>)"><i class="icon-pencil icon-white"></i> 处理</a><*/if*></td>
 <!-- 
   <td><*if $item.isover==1 *>已处理<*else*>未处理<*/if*></td>
   <td><*$item.content|smartTruncate:5:'...'*></td>
   <td><*$item.nickname*></td>   
   <td><*$item.source*></td>
   <td><*$item.email*></td>
   <td><*if $item.isover==1*><a href="/<*$controller*>/edit/id/<*$item.feedbackid*>"><i class="icon-info-sign"></i> 查看</a><*else*><a   role="button" class="btn btn-primary" data-toggle="modal" onclick="javascript:editit(<*$item.feedbackid*>)"><i class="icon-pencil icon-white"></i> 处理</a><*/if*></td>
  -->
  <td>&nbsp;</td>
   </tr>   
  <*/foreach*>
 <tr><td colspan="7"><*$page*></td></tr>  
</table>
 

 

</div>
</div> 
<script type="text/javascript" >
 

function deleteit(id)
{
  if(confirm("删除将不能恢复")){
   window.location='/<*$controller*>/delete/id/'+id;
  }
}

function editit(id)
{
	//alert(id);
 	window.location='/<*$controller*>/edit/id/'+id;
}




</script>
</div>